﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mangosoft.DiceCopy.Domain.Seedwork.Specification;

namespace Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.ResumeAgg {
   public static  class ResumeSpecifications {
       public static ISpecification<Resume> ResumesByIDCard(string number) {
           return new DirectSpecification<Resume>(r => r.ResumeNumber == number);
       }
    }
}
